<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/common/taglibs.jsp" %>

<!DOCTYPE html>
<html lang="en">
	<head>
			<%@ include file="/common/common-css.jsp" %>
			<title>贷款之家管理平台</title>
			<!-- 框架公共JS -->
			<%@ include file="/common/common-js.jsp" %>
			<script>
				/****************************************************************************/
				/** 浏览器窗口大小改变事件
				  * 处理逻辑：
				  * (1)、重新设置嵌套Iframe的高度 【add by yixiaoping】
				  * (2)、
				  * (3)、
				  */
				 /***************************************************************************/
				function resizeIFrame(){
					var pTar = document.getElementById("main_frame");
					if (pTar) { //ff
						if (pTar.contentDocument && pTar.contentDocument.body.offsetHeight) {
							pTar.height = $(window).height();
						}else if (pTar.Document && pTar.Document.body.scrollHeight) { //ie
							pTar.height = $(window).height();
						}
					}
				}
				
			</script>
	</head>

	<body class="no-skin">
		<!-- #section: navbar——头部导航栏-->
			<%@ include file="/common/navbar.jsp" %>
		<!-- /section: navbar——头部导航栏-->

		<!-- #section:主容器-main-container-->
		<div class="main-container" id="main-container">
			<script type="text/javascript">
				try{ace.settings.check('main-container' , 'fixed')}catch(e){}
			</script>

			<!-- #section: main-container/sidebar——主容器左侧——菜单栏-->
				<%@ include file="/common/sidebar.jsp"%>
			<!-- /section: main-container/sidebar——主容器左侧——菜单栏-->
			
			<!-- #section: main-container/main-content——主容器右侧——主内容-->
			<div class="main-content">
					<!-- #section: settings.box  ACE设置面板 -->
						<%@ include file="/common/ace-setting.jsp" %>
					<!-- /section:settings.box  ACE设置面板 -->
					
									
					<!-- 右侧容器布局——顶部——面包屑栏 start -->
					<div class="breadcrumbs" id="breadcrumbs">
						<script type="text/javascript">
							try{ace.settings.check('breadcrumbs' , 'fixed')}catch(e){}
						</script>
	
						<!-- 面包屑标题 start -->
						<ul class="breadcrumb">
							<li>
								<i class="ace-icon fa fa-home home-icon"></i>
								<a href="${ctx}/system/index.action">工作台</a>
							</li>
						</ul><!-- /.breadcrumb -->
						<!-- 面包屑标题 end-->
					</div><!-- 右侧容器布局——顶部——面包屑栏 end -->
					
					
					<iframe id="main_frame" name="main_frame" style="position:relative" src="${ctx}/system/desktop.jsp" frameborder="0" width="100%" height="100%"  onload="resizeIFrame()"></iframe>

					<!-- 右侧容器布局——底部——footer end -->
					<%-- 
					   <%@ include file="/common/footer.jsp" %> 
					--%>
					<!-- 右侧容器布局——底部——footer end -->
					
					<!-- 底部：回到顶部图标 start-->
					<a href="#" id="btn-scroll-up" class="btn-scroll-up btn btn-sm btn-inverse">
						<i class="ace-icon fa fa-angle-double-up icon-only bigger-110"></i>
					</a>
					<!-- 底部：回到顶部图标 end-->
					
			</div><!-- /section: main-container/main-content——主容器右侧——主内容-->
		</div><!-- /section:主容器-main-container-->
		
		    
			
			<!-- index.jsp JS -->
			<script src="${ctx}/js/index.js"></script>
			
			<!-- desktop.jsp JS -->
			<!--<script src="${ctx}/js/desktop.js"></script>-->
			
	</body>
</html>
